package com.diyunapp.xilinapp.adapters;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.diyunapp.xilinapp.R;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by Administrator on 2016/6/23.
 */
public class WaitEvaluateAdapter extends BaseAdapter {
    private Context context;

    @Override
    public int getCount() {
        return 0;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    private ViewHolder viewHolder;

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        if (null == convertView) {
            LayoutInflater layoutInflater = LayoutInflater.from(context);
            convertView = layoutInflater.inflate(R.layout.item_wait_evaluate, null);
            viewHolder = new ViewHolder(convertView);
            convertView.setTag(viewHolder);
        } else {
            viewHolder = (ViewHolder) convertView.getTag();
        }
        return null;
    }


     class ViewHolder {
        @Bind(R.id.shoplogo)
        ImageView shoplogo;
        @Bind(R.id.shop_name)
        TextView shopName;
        @Bind(R.id.intent_state)
        TextView intentState;
        @Bind(R.id.goods_show)
        ImageView goodsShow;
        @Bind(R.id.goods_introduce)
        TextView goodsIntroduce;
        @Bind(R.id.intent_price)
        TextView intentPrice;
        @Bind(R.id.intent_color)
        TextView intentColor;
        @Bind(R.id.intent_size)
        TextView intentSize;
        @Bind(R.id.intent_num0)
        TextView intentNum0;
        @Bind(R.id.line_1)
        TextView line1;
        @Bind(R.id.add_num)
        TextView addNum;
        @Bind(R.id.add_price)
        TextView addPrice;
        @Bind(R.id.ceremail_right_away)
        TextView ceremailRightAway;

        ViewHolder(View view) {
            ButterKnife.bind(this, view);
        }
    }
}
